//
// Created by liuyang on 2025/5/15.
//

#ifndef COMPUTERORDERSYSTEM_ORDER_H
#define COMPUTERORDERSYSTEM_ORDER_H
#include "Student.h"
#include "Manager.h"
//#include "Window.h"
#include "Person.h"
#include "../Utils/Constant.h"
#include "ComputerRoom.h"

using namespace std;
class Order {
public:
    inline static int currentId;
    int id;
    int reserveDayId;
    int reservePeriodId;
    Student student;
    int roomId;
    int state;
    Order();
    Order(int id,int reserveDayId,int reservePeriodId);
    Order(int id,int reserveDayId,int reservePeriodId,Student& s,int state,int roomId);

    friend ostream& operator<<(ostream& ofs,Order& order);

};


#endif //COMPUTERORDERSYSTEM_ORDER_H
